﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SXFramWork.API
{
    /// <summary>
    /// 权限验证
    /// </summary>
    public interface IPermissionHandler
    {
        /// <summary>
        /// 权限验证
        /// </summary>
        /// <param name="routeValues"></param>
        /// <returns></returns>
        Task<bool> ValidateAsync(IDictionary<string, string> routeValues,string httpMethod);
    }
}
